<#macro layoutHead title>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>${title ! ""}</title>
    <#include "style.ftl" />
    <#include "javascript.ftl" />
</head>
</#macro>

<#macro layoutBody titles>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <#include "header.ftl" />
    <#include "menu-left.ftl" />
    <div class="layui-body">
        <div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
            <ul class="layui-tab-title">
                <#list titles as title>
                    <li class="layui-this">
                        <cite>${title ! ""}</cite>
                    </li>
                </#list>
            </ul>
            <div class="layui-tab-content" style="min-height: 150px; padding: 10px;">
                <div class="layui-tab-item layui-show">
                    <#nested />
                </div>
            </div>
        </div>
    </div>
    <#include "footer.ftl" />
</div>
</body>
</html>
</#macro>